$OpenBSD: patch-src_tk_tkwm_c,v 1.4 2017/05/09 13:01:42 espie Exp $
Index: src/tk/tkwm.c
--- src/tk/tkwm.c.orig
+++ src/tk/tkwm.c
@@ -1246,7 +1246,7 @@ Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heigh
 	    && (wmPtr->widthInc != widthInc)
 	    && (wmPtr->heightInc != heightInc)
 	    && ((wmPtr->sizeHintsFlags & (PBaseSize|PResizeInc))
-		    == PBaseSize|PResizeInc)) {
+		    == (PBaseSize|PResizeInc))) {
 	return;
     }
 
